﻿<%@ Page Language="C#" MasterPageFile="~/LMIS_Master.Master" AutoEventWireup="true" CodeBehind="DeleteBook.aspx.cs" Inherits="LMIS_Application.DeleteBook" Title="LIMS | Delete Book" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent1" runat="server">
<div>
    <table>
        <tr>
            <td colspan=2><h2>Delete Book</h2></td>
        </tr>
        <tr>
            <td>Book ID:</td><td>
                    <asp:TextBox ID="tb_DB_bkID" runat="server" ValidationGroup="vg_DB"></asp:TextBox>
                    <asp:RangeValidator ID="rv_DB_bkID" runat="server" 
                        ControlToValidate="tb_DB_bkID" ErrorMessage="Enter a valid Book ID" 
                        MaximumValue="1000" MinimumValue="1" ValidationGroup="vg_BD">*</asp:RangeValidator>
                    </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btn_DB_ForceDelete" runat="server" onclick="btn_DB_ForceDelete_Click" 
                    Text="Force Delete" Visible="False" />
            </td><td>
            <asp:Button ID="btnDelBook" runat="server" Text="Delete Book" 
                onclick="btnDelBook_Click" />
            </td>
        </tr>
        <tr>
            <td colspan=2>
                <asp:Label ID="info" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
    </div>
</asp:Content>
